package com.example.demo.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
//import io.swagger.annotations.ApiModel;
//import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("country")
//@ApiModel(value="Country对象", description="")
public class Country implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "Code", type = IdType.AUTO)
    private String Code;
    @TableField("Name")
    private String Name;
    @TableField("Continent")
    private String Continent;
    @TableField("Region")
    private String Region;
    @TableField("SurfaceArea")
    private BigDecimal SurfaceArea;
    @TableField("IndepYear")
    private Integer IndepYear;
    @TableField("Population")
    private Integer Population;
    @TableField("LifeExpectancy")
    private BigDecimal LifeExpectancy;
    @TableField("gnp")
    private BigDecimal gnp;
    @TableField("GNPOld")
    private BigDecimal GNPOld;
    @TableField("LocalName")
    private String LocalName;

    public String getCode() {
        return Code;
    }

    public void setCode(String code) {
        Code = code;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getContinent() {
        return Continent;
    }

    public void setContinent(String continent) {
        Continent = continent;
    }

    public String getRegion() {
        return Region;
    }

    public void setRegion(String region) {
        Region = region;
    }

    public BigDecimal getSurfaceArea() {
        return SurfaceArea;
    }

    public void setSurfaceArea(BigDecimal surfaceArea) {
        SurfaceArea = surfaceArea;
    }

    public Integer getIndepYear() {
        return IndepYear;
    }

    public void setIndepYear(Integer indepYear) {
        IndepYear = indepYear;
    }

    public Integer getPopulation() {
        return Population;
    }

    public void setPopulation(Integer population) {
        Population = population;
    }

    public BigDecimal getLifeExpectancy() {
        return LifeExpectancy;
    }

    public void setLifeExpectancy(BigDecimal lifeExpectancy) {
        LifeExpectancy = lifeExpectancy;
    }

    public BigDecimal getGnp() {
        return gnp;
    }

    public void setGnp(BigDecimal gnp) {
        this.gnp = gnp;
    }

    public BigDecimal getGNPOld() {
        return GNPOld;
    }

    public void setGNPOld(BigDecimal GNPOld) {
        this.GNPOld = GNPOld;
    }

    public String getLocalName() {
        return LocalName;
    }

    public void setLocalName(String localName) {
        LocalName = localName;
    }

    public String getGovernmentForm() {
        return GovernmentForm;
    }

    public void setGovernmentForm(String governmentForm) {
        GovernmentForm = governmentForm;
    }

    public String getHeadOfState() {
        return HeadOfState;
    }

    public void setHeadOfState(String headOfState) {
        HeadOfState = headOfState;
    }

    public Integer getCapital() {
        return Capital;
    }

    public void setCapital(Integer capital) {
        Capital = capital;
    }

    public String getCode2() {
        return Code2;
    }

    public void setCode2(String code2) {
        Code2 = code2;
    }

    @TableField("GovernmentForm")
    private String GovernmentForm;
    @TableField("HeadOfState")
    private String HeadOfState;
    @TableField("Capital")
    private Integer Capital;
    @TableField("Code2")
    private String Code2;


}
